/* gettext library */

var catalog = new Array();

function pluralidx(n) {
  var v=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);
  if (typeof(v) == 'boolean') {
    return v ? 1 : 0;
  } else {
    return v;
  }
}
catalog['6 a.m.'] = 'Ob 6h';
catalog['Add'] = 'Dodaj';
catalog['Available %s'] = 'Mo\u017ene %s';
catalog['Calendar'] = 'Koledar';
catalog['Cancel'] = 'Prekli\u010di';
catalog['Choose a time'] = 'Izberite \u010das';
catalog['Choose all'] = 'Izberi vse';
catalog['Chosen %s'] = 'Izbran %s';
catalog['Clear all'] = 'Izbri\u0161i vse';
catalog['Clock'] = 'URA';
catalog['Hide'] = 'Skrij';
catalog['January February March April May June July August September October November December'] = 'Januar Februar Marec April Maj Junij Julij Avgust September Oktober November December';
catalog['Midnight'] = 'Polno\u010d';
catalog['Noon'] = 'Opoldne';
catalog['Now'] = 'Sedaj';
catalog['Remove'] = 'Odstrani';
catalog['S M T W T F S'] = 'N P T S \u010c P S';
catalog['Select your choice(s) and click '] = 'Izberite in kliknite ';
catalog['Show'] = 'Prika\u017ei';
catalog['Sunday Monday Tuesday Wednesday Thursday Friday Saturday'] = 'Nedelja Ponedeljek Torek Sreda \u010cetrtek Petek Sobota';
catalog['Today'] = 'Danes';
catalog['Tomorrow'] = 'Jutri';
catalog['Yesterday'] = 'V\u010deraj';


function gettext(msgid) {
  var value = catalog[msgid];
  if (typeof(value) == 'undefined') {
    return msgid;
  } else {
    return (typeof(value) == 'string') ? value : value[0];
  }
}

function ngettext(singular, plural, count) {
  value = catalog[singular];
  if (typeof(value) == 'undefined') {
    return (count == 1) ? singular : plural;
  } else {
    return value[pluralidx(count)];
  }
}

function gettext_noop(msgid) { return msgid; }

function interpolate(fmt, obj, named) {
  if (named) {
    return fmt.replace(/%\(\w+\)s/g, function(match){return String(obj[match.slice(2,-2)])});
  } else {
    return fmt.replace(/%s/g, function(match){return String(obj.shift())});
  }
}